package com.jiutong.meipenggang.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author Veken
 * @date on 2017/12/19 11:28
 * @describe
 */

public class HongBaoBean extends BaseBean {


    /**
     * redPrmList : [{"redName":"注册送22.0元红包奖励","redRuleAmount":5000,"redHaveAmount":22,"endTime":"2017.12.27 13:18:49"},{"redName":"注册送10.0元红包奖励","redRuleAmount":200,"redHaveAmount":10,"endTime":"2017.12.27 13:18:49"}]
     * error : -1
     * token : 15132608496087ac90121-2fcd-45e3-9988-bbe2f6c060de
     */
    @SerializedName("token")
    private String token;
    private List<RedPrmListBean> redPrmList;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<RedPrmListBean> getRedPrmList() {
        return redPrmList;
    }

    public void setRedPrmList(List<RedPrmListBean> redPrmList) {
        this.redPrmList = redPrmList;
    }

    public static class RedPrmListBean {
        /**
         * redName : 注册送22.0元红包奖励
         * redRuleAmount : 5000
         * redHaveAmount : 22
         * endTime : 2017.12.27 13:18:49
         */

        private String redName;
        private int redRuleAmount;
        private int redHaveAmount;
        private String endTime;

        public String getRedName() {
            return redName;
        }

        public void setRedName(String redName) {
            this.redName = redName;
        }

        public int getRedRuleAmount() {
            return redRuleAmount;
        }

        public void setRedRuleAmount(int redRuleAmount) {
            this.redRuleAmount = redRuleAmount;
        }

        public int getRedHaveAmount() {
            return redHaveAmount;
        }

        public void setRedHaveAmount(int redHaveAmount) {
            this.redHaveAmount = redHaveAmount;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }
    }
}
